\hypertarget{classDbSync__Controller__AbstractController}{
\section{DbSync\_\-Controller\_\-AbstractController Class Reference}
\label{classDbSync__Controller__AbstractController}\index{DbSync\_\-Controller\_\-AbstractController@{DbSync\_\-Controller\_\-AbstractController}}
}
Inheritance diagram for DbSync\_\-Controller\_\-AbstractController:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=1.568627cm]{classDbSync__Controller__AbstractController}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classDbSync__Controller__AbstractController_a6afb890b457d835ce2fc37177a73268c}{\_\-\_\-construct} (array \$config)
\item 
\hyperlink{classDbSync__Controller__AbstractController_a7a3b608e12b8e9d3de6def607c0cbe28}{getActionMethod} (\$action)
\item 
\hyperlink{classDbSync__Controller__AbstractController_a26c95d326895bcad46f6b61a3674f5c6}{dispatch} (\hyperlink{classDbSync__Console}{DbSync\_\-Console} \$console)
\item 
\hyperlink{classDbSync__Controller__AbstractController_ac07432b2dbe3854b4f7924fa7887215c}{getItemsList} (\$action)
\item 
\hyperlink{classDbSync__Controller__AbstractController_a40107b1c2a0d5e2f3da236a5c32c2f93}{\_\-\_\-destruct} ()
\item 
\hyperlink{classDbSync__Controller__AbstractController_aaffa31e72a2dcdd6d2a144b8000e7231}{helpAction} ()
\item 
\hyperlink{classDbSync__Controller__AbstractController_aa27d714cc779879c43ca3621c65c65de}{showUsage} ()
\item 
\hyperlink{classDbSync__Controller__AbstractController_a12b74400d214770030c52d2f29308f52}{statusAction} ()
\item 
\hyperlink{classDbSync__Controller__AbstractController_ae973fdc065acffa90f43425b2d480794}{initAction} ()
\item 
\hyperlink{classDbSync__Controller__AbstractController_ab0e568570a013d19ba46b44c4e1e4aa4}{pullAction} ()
\item 
\hyperlink{classDbSync__Controller__AbstractController_a94bd514ad322a37bf6bf2158b98b69b7}{diffAction} ()
\item 
\hyperlink{classDbSync__Controller__AbstractController_a92abb57b71e100a6c771f8a54b6e2225}{pushAction} ()
\item 
\hyperlink{classDbSync__Controller__AbstractController_abcec7de3ac2e1a43ff35ec2190a9c8d3}{colorize} (\$text, \$color= 'yellow')
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classDbSync__Controller__AbstractController_ae7f065286125487dd51f268138c02113}{\_\-run} (\$action, \$name)
\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classDbSync__Controller__AbstractController_a419e0e008929c4ac2294a6f90c5965b3}{
{\bfseries \$\_\-modelClass}}
\label{classDbSync__Controller__AbstractController_a419e0e008929c4ac2294a6f90c5965b3}

\item 
\hypertarget{classDbSync__Controller__AbstractController_a499e13fe1d21e988cccccf5497dc0003}{
{\bfseries \$\_\-model}}
\label{classDbSync__Controller__AbstractController_a499e13fe1d21e988cccccf5497dc0003}

\item 
\hypertarget{classDbSync__Controller__AbstractController_a6bd7ca3e9e3faf8da55701916ca82b31}{
{\bfseries \$\_\-console}}
\label{classDbSync__Controller__AbstractController_a6bd7ca3e9e3faf8da55701916ca82b31}

\end{DoxyCompactItemize}


\subsection{Constructor \& Destructor Documentation}
\hypertarget{classDbSync__Controller__AbstractController_a6afb890b457d835ce2fc37177a73268c}{
\index{DbSync\_\-Controller\_\-AbstractController@{DbSync\_\-Controller\_\-AbstractController}!\_\-\_\-construct@{\_\-\_\-construct}}
\index{\_\-\_\-construct@{\_\-\_\-construct}!DbSync_Controller_AbstractController@{DbSync\_\-Controller\_\-AbstractController}}
\subsubsection[{\_\-\_\-construct}]{\setlength{\rightskip}{0pt plus 5cm}DbSync\_\-Controller\_\-AbstractController::\_\-\_\-construct (
\begin{DoxyParamCaption}
\item[{array \$}]{config}
\end{DoxyParamCaption}
)}}
\label{classDbSync__Controller__AbstractController_a6afb890b457d835ce2fc37177a73268c}
Constructor


\begin{DoxyParams}[1]{Parameters}
array & {\em \$config} & \\
\hline
\end{DoxyParams}
\hypertarget{classDbSync__Controller__AbstractController_a40107b1c2a0d5e2f3da236a5c32c2f93}{
\index{DbSync\_\-Controller\_\-AbstractController@{DbSync\_\-Controller\_\-AbstractController}!\_\-\_\-destruct@{\_\-\_\-destruct}}
\index{\_\-\_\-destruct@{\_\-\_\-destruct}!DbSync_Controller_AbstractController@{DbSync\_\-Controller\_\-AbstractController}}
\subsubsection[{\_\-\_\-destruct}]{\setlength{\rightskip}{0pt plus 5cm}DbSync\_\-Controller\_\-AbstractController::\_\-\_\-destruct (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classDbSync__Controller__AbstractController_a40107b1c2a0d5e2f3da236a5c32c2f93}
Descructor 

\subsection{Member Function Documentation}
\hypertarget{classDbSync__Controller__AbstractController_ae7f065286125487dd51f268138c02113}{
\index{DbSync\_\-Controller\_\-AbstractController@{DbSync\_\-Controller\_\-AbstractController}!\_\-run@{\_\-run}}
\index{\_\-run@{\_\-run}!DbSync_Controller_AbstractController@{DbSync\_\-Controller\_\-AbstractController}}
\subsubsection[{\_\-run}]{\setlength{\rightskip}{0pt plus 5cm}DbSync\_\-Controller\_\-AbstractController::\_\-run (
\begin{DoxyParamCaption}
\item[{\$}]{action, }
\item[{\$}]{name}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}
\label{classDbSync__Controller__AbstractController_ae7f065286125487dd51f268138c02113}
Run action


\begin{DoxyParams}[1]{Parameters}
string & {\em \$action} & \\
\hline
string & {\em \$name} & \\
\hline
\end{DoxyParams}


Reimplemented in \hyperlink{classDbSync__Controller__TriggerController_a2b8ff414b903fc7ac1a433d1f10e2b5a}{DbSync\_\-Controller\_\-TriggerController}.

\hypertarget{classDbSync__Controller__AbstractController_abcec7de3ac2e1a43ff35ec2190a9c8d3}{
\index{DbSync\_\-Controller\_\-AbstractController@{DbSync\_\-Controller\_\-AbstractController}!colorize@{colorize}}
\index{colorize@{colorize}!DbSync_Controller_AbstractController@{DbSync\_\-Controller\_\-AbstractController}}
\subsubsection[{colorize}]{\setlength{\rightskip}{0pt plus 5cm}DbSync\_\-Controller\_\-AbstractController::colorize (
\begin{DoxyParamCaption}
\item[{\$}]{text, }
\item[{\$}]{color = {\ttfamily 'yellow'}}
\end{DoxyParamCaption}
)}}
\label{classDbSync__Controller__AbstractController_abcec7de3ac2e1a43ff35ec2190a9c8d3}
Colorize


\begin{DoxyParams}[1]{Parameters}
string & {\em \$text} & \\
\hline
string & {\em \$color} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
string 
\end{DoxyReturn}
\hypertarget{classDbSync__Controller__AbstractController_a94bd514ad322a37bf6bf2158b98b69b7}{
\index{DbSync\_\-Controller\_\-AbstractController@{DbSync\_\-Controller\_\-AbstractController}!diffAction@{diffAction}}
\index{diffAction@{diffAction}!DbSync_Controller_AbstractController@{DbSync\_\-Controller\_\-AbstractController}}
\subsubsection[{diffAction}]{\setlength{\rightskip}{0pt plus 5cm}DbSync\_\-Controller\_\-AbstractController::diffAction (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classDbSync__Controller__AbstractController_a94bd514ad322a37bf6bf2158b98b69b7}
Diff

di

\begin{DoxyReturn}{Returns}
Show diff between database entity and config file 
\end{DoxyReturn}
\hypertarget{classDbSync__Controller__AbstractController_a26c95d326895bcad46f6b61a3674f5c6}{
\index{DbSync\_\-Controller\_\-AbstractController@{DbSync\_\-Controller\_\-AbstractController}!dispatch@{dispatch}}
\index{dispatch@{dispatch}!DbSync_Controller_AbstractController@{DbSync\_\-Controller\_\-AbstractController}}
\subsubsection[{dispatch}]{\setlength{\rightskip}{0pt plus 5cm}DbSync\_\-Controller\_\-AbstractController::dispatch (
\begin{DoxyParamCaption}
\item[{{\bf DbSync\_\-Console} \$}]{console}
\end{DoxyParamCaption}
)}}
\label{classDbSync__Controller__AbstractController_a26c95d326895bcad46f6b61a3674f5c6}
Dispatch


\begin{DoxyParams}[1]{Parameters}
\hyperlink{classDbSync__Console}{DbSync\_\-Console} & {\em \$console} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
mixed 
\end{DoxyReturn}
\hypertarget{classDbSync__Controller__AbstractController_a7a3b608e12b8e9d3de6def607c0cbe28}{
\index{DbSync\_\-Controller\_\-AbstractController@{DbSync\_\-Controller\_\-AbstractController}!getActionMethod@{getActionMethod}}
\index{getActionMethod@{getActionMethod}!DbSync_Controller_AbstractController@{DbSync\_\-Controller\_\-AbstractController}}
\subsubsection[{getActionMethod}]{\setlength{\rightskip}{0pt plus 5cm}DbSync\_\-Controller\_\-AbstractController::getActionMethod (
\begin{DoxyParamCaption}
\item[{\$}]{action}
\end{DoxyParamCaption}
)}}
\label{classDbSync__Controller__AbstractController_a7a3b608e12b8e9d3de6def607c0cbe28}
Get action method name


\begin{DoxyParams}[1]{Parameters}
string & {\em \$action} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
string 
\end{DoxyReturn}
\hypertarget{classDbSync__Controller__AbstractController_ac07432b2dbe3854b4f7924fa7887215c}{
\index{DbSync\_\-Controller\_\-AbstractController@{DbSync\_\-Controller\_\-AbstractController}!getItemsList@{getItemsList}}
\index{getItemsList@{getItemsList}!DbSync_Controller_AbstractController@{DbSync\_\-Controller\_\-AbstractController}}
\subsubsection[{getItemsList}]{\setlength{\rightskip}{0pt plus 5cm}DbSync\_\-Controller\_\-AbstractController::getItemsList (
\begin{DoxyParamCaption}
\item[{\$}]{action}
\end{DoxyParamCaption}
)}}
\label{classDbSync__Controller__AbstractController_ac07432b2dbe3854b4f7924fa7887215c}
Get items list


\begin{DoxyParams}[1]{Parameters}
string & {\em \$action} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
array 
\end{DoxyReturn}


Reimplemented in \hyperlink{classDbSync__Controller__TriggerController_a18f4eb165243504cf1354464be4ec9de}{DbSync\_\-Controller\_\-TriggerController}.

\hypertarget{classDbSync__Controller__AbstractController_aaffa31e72a2dcdd6d2a144b8000e7231}{
\index{DbSync\_\-Controller\_\-AbstractController@{DbSync\_\-Controller\_\-AbstractController}!helpAction@{helpAction}}
\index{helpAction@{helpAction}!DbSync_Controller_AbstractController@{DbSync\_\-Controller\_\-AbstractController}}
\subsubsection[{helpAction}]{\setlength{\rightskip}{0pt plus 5cm}DbSync\_\-Controller\_\-AbstractController::helpAction (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classDbSync__Controller__AbstractController_aaffa31e72a2dcdd6d2a144b8000e7231}
Help action

\begin{DoxyReturn}{Returns}
Help message 
\end{DoxyReturn}


Reimplemented in \hyperlink{classDbSync__Controller__TriggerController_a4d53a691eb15f7d060c4db5d14e8c240}{DbSync\_\-Controller\_\-TriggerController}.

\hypertarget{classDbSync__Controller__AbstractController_ae973fdc065acffa90f43425b2d480794}{
\index{DbSync\_\-Controller\_\-AbstractController@{DbSync\_\-Controller\_\-AbstractController}!initAction@{initAction}}
\index{initAction@{initAction}!DbSync_Controller_AbstractController@{DbSync\_\-Controller\_\-AbstractController}}
\subsubsection[{initAction}]{\setlength{\rightskip}{0pt plus 5cm}DbSync\_\-Controller\_\-AbstractController::initAction (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classDbSync__Controller__AbstractController_ae973fdc065acffa90f43425b2d480794}
Init

\begin{DoxyReturn}{Returns}
Create config file(s) 
\end{DoxyReturn}
\hypertarget{classDbSync__Controller__AbstractController_ab0e568570a013d19ba46b44c4e1e4aa4}{
\index{DbSync\_\-Controller\_\-AbstractController@{DbSync\_\-Controller\_\-AbstractController}!pullAction@{pullAction}}
\index{pullAction@{pullAction}!DbSync_Controller_AbstractController@{DbSync\_\-Controller\_\-AbstractController}}
\subsubsection[{pullAction}]{\setlength{\rightskip}{0pt plus 5cm}DbSync\_\-Controller\_\-AbstractController::pullAction (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classDbSync__Controller__AbstractController_ab0e568570a013d19ba46b44c4e1e4aa4}
Pull

\begin{DoxyReturn}{Returns}
Override current config(s) file by new created from database 
\end{DoxyReturn}
\hypertarget{classDbSync__Controller__AbstractController_a92abb57b71e100a6c771f8a54b6e2225}{
\index{DbSync\_\-Controller\_\-AbstractController@{DbSync\_\-Controller\_\-AbstractController}!pushAction@{pushAction}}
\index{pushAction@{pushAction}!DbSync_Controller_AbstractController@{DbSync\_\-Controller\_\-AbstractController}}
\subsubsection[{pushAction}]{\setlength{\rightskip}{0pt plus 5cm}DbSync\_\-Controller\_\-AbstractController::pushAction (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classDbSync__Controller__AbstractController_a92abb57b71e100a6c771f8a54b6e2225}
Push

\begin{DoxyReturn}{Returns}
Override database entity by current config file entity 

Use \{-\/-\/show$|$yellow\} to only display alter code 
\end{DoxyReturn}


Reimplemented in \hyperlink{classDbSync__Controller__DataController_a905f98b976e7fa950805cb40f569cbc9}{DbSync\_\-Controller\_\-DataController}.

\hypertarget{classDbSync__Controller__AbstractController_aa27d714cc779879c43ca3621c65c65de}{
\index{DbSync\_\-Controller\_\-AbstractController@{DbSync\_\-Controller\_\-AbstractController}!showUsage@{showUsage}}
\index{showUsage@{showUsage}!DbSync_Controller_AbstractController@{DbSync\_\-Controller\_\-AbstractController}}
\subsubsection[{showUsage}]{\setlength{\rightskip}{0pt plus 5cm}DbSync\_\-Controller\_\-AbstractController::showUsage (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classDbSync__Controller__AbstractController_aa27d714cc779879c43ca3621c65c65de}
Output actions usage message \hypertarget{classDbSync__Controller__AbstractController_a12b74400d214770030c52d2f29308f52}{
\index{DbSync\_\-Controller\_\-AbstractController@{DbSync\_\-Controller\_\-AbstractController}!statusAction@{statusAction}}
\index{statusAction@{statusAction}!DbSync_Controller_AbstractController@{DbSync\_\-Controller\_\-AbstractController}}
\subsubsection[{statusAction}]{\setlength{\rightskip}{0pt plus 5cm}DbSync\_\-Controller\_\-AbstractController::statusAction (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classDbSync__Controller__AbstractController_a12b74400d214770030c52d2f29308f52}
Status

st

\begin{DoxyReturn}{Returns}
Check sync status (Ok/Unsyncronized) 
\end{DoxyReturn}


Reimplemented in \hyperlink{classDbSync__Controller__TriggerController_a08d8439a825dd363b7fb8df076056f65}{DbSync\_\-Controller\_\-TriggerController}.



The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
DbSync/Controller/AbstractController.php\end{DoxyCompactItemize}
